using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class MdProductEntity : EntityBase
{
public MdProductTable TableSchema
{
get
{
return (MdProductTable)_tableSchema;
}}

public MdProductEntity()
{
_tableSchema = MdProductTable.Current;
}

#region 属性列表

public String ProductID
{
get { return Convert.ToString(GetData(MdProductTable.C_PRODUCTID)); }
set { SetData(MdProductTable.C_PRODUCTID, value); }
}

public String ProductTypeID
{
get { return Convert.ToString(GetData(MdProductTable.C_PRODUCTTYPEID)); }
set { SetData(MdProductTable.C_PRODUCTTYPEID, value); }
}

public String CustomerPartNo
{
get { return Convert.ToString(GetData(MdProductTable.C_CUSTOMERPARTNO)); }
set { SetData(MdProductTable.C_CUSTOMERPARTNO, value); }
}

public String ProductName
{
get { return Convert.ToString(GetData(MdProductTable.C_PRODUCTNAME)); }
set { SetData(MdProductTable.C_PRODUCTNAME, value); }
}

public String Specifications
{
get { return Convert.ToString(GetData(MdProductTable.C_SPECIFICATIONS)); }
set { SetData(MdProductTable.C_SPECIFICATIONS, value); }
}

public Decimal? OutSide
{
get { return Convert.ToDecimal(GetData(MdProductTable.C_OUTSIDE)); }
set { SetData(MdProductTable.C_OUTSIDE, value); }
}

public Decimal? InSide
{
get { return Convert.ToDecimal(GetData(MdProductTable.C_INSIDE)); }
set { SetData(MdProductTable.C_INSIDE, value); }
}

public String Unit
{
get { return Convert.ToString(GetData(MdProductTable.C_UNIT)); }
set { SetData(MdProductTable.C_UNIT, value); }
}

public Decimal? Price
{
get { return Convert.ToDecimal(GetData(MdProductTable.C_PRICE)); }
set { SetData(MdProductTable.C_PRICE, value); }
}

public Decimal? SafeStock
{
get { return Convert.ToDecimal(GetData(MdProductTable.C_SAFESTOCK)); }
set { SetData(MdProductTable.C_SAFESTOCK, value); }
}

public String Status
{
get { return Convert.ToString(GetData(MdProductTable.C_STATUS)); }
set { SetData(MdProductTable.C_STATUS, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(MdProductTable.C_CREATEDATE)); }
set { SetData(MdProductTable.C_CREATEDATE, value); }
}

public String ModifyUserName
{
get { return Convert.ToString(GetData(MdProductTable.C_MODIFYUSERNAME)); }
set { SetData(MdProductTable.C_MODIFYUSERNAME, value); }
}

public String CreateUserID
{
get { return Convert.ToString(GetData(MdProductTable.C_CREATEUSERID)); }
set { SetData(MdProductTable.C_CREATEUSERID, value); }
}

public String CreateUserName
{
get { return Convert.ToString(GetData(MdProductTable.C_CREATEUSERNAME)); }
set { SetData(MdProductTable.C_CREATEUSERNAME, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(MdProductTable.C_MODIFYDATE)); }
set { SetData(MdProductTable.C_MODIFYDATE, value); }
}

public String ModifyUserID
{
get { return Convert.ToString(GetData(MdProductTable.C_MODIFYUSERID)); }
set { SetData(MdProductTable.C_MODIFYUSERID, value); }
}

#endregion
}
}